import { LoginLayout } from '../views/layouts'

/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/user',
    component: LoginLayout,
    redirect: '/user/login',
    hidden: true,
    children: [
      {
        path: 'login',
        name: 'login',
        component: () => import(/* webpackChunkName: "login" */ '@/views/login/Login')
      }
    ]
  },
  {
    path: '/500',
    name: '500',
    component: () => import(/* webpackChunkName: 'error' */ '@/views/exception/500')
  },
  {
    path: '/403',
    name: '403',
    component: () => import(/* webpackChunkName: 'error' */ '@/views/exception/403')
  },
  {
    path: '/404',
    name: '404',
    component: () => import(/* webpackChunkName: 'error' */ '@/views/exception/404')
  },

]